home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000404_news@columbia.edu _Fri Apr 12 18:48:38 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id SAA00909 for <kermit.misc@watsun>; Fri, 12 Apr 1996 18:48:38 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id SAA17255 for kermit.misc@watsun; Fri, 12 Apr 1996 18:48:36 -0400 (EDT)
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!news.msfc.nasa.gov!elroy.jpl.nasa.gov!swrinde!gatech!newsfeed.internetmci.com!in1.uu.net!netnews.worldnet.att.net!newsadm
  5. From: cjk@worldnet.att.net (Chris Kunath)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Setting Modem S-registers
  8. Date: Fri, 12 Apr 1996 06:10:40 GMT
  9. Organization: AT&T WorldNet Services
  10. Lines: 64
  11. Message-ID: <4kks4l$2k9@mtinsc01-mgt.ops.worldnet.att.net>
  12. References: <4khb90$7at@canopus.cc.umanitoba.ca>
  13. NNTP-Posting-Host: 137.chicago-3.il.dial-access.att.net
  14. X-Newsreader: Forte Free Agent 1.0.82
  15.  
  16. walid@InfoMag.mb.ca (Walid Chamma) wrote:
  17.  
  18. > Is it possible to set the S-registers of a modem by running kermit
  19. > from a line command on a UNIX machine ( non-interactive).
  20. > So that the command can be executed at specific time.
  21.  
  22. Sure, I do this all the time!  Here's a sample for a 
  23. Practical Peripherals 14400 FSX (hint:  if you take
  24. out the error checking, it's MUCH faster, which 
  25. might be a factor if you're setting up 64 modems
  26. at a shot):
  27.  
  28. set line /dev/modem13
  29. set speed 38400
  30. set take echo off
  31. set take error off
  32.  
  33. script ~0 AT~r OK ATL0F0~r OK
  34. if success echo     Reset to factory defaults...
  35. if failure echo        Modem not answering!
  36.  
  37. script ~0 ATM0~r OK
  38. if success echo     Turned speaker off...
  39. if failure echo        Failed disabling speaker!
  40.  
  41. script ~0 ATT~r OK
  42. if success echo     Use DTMF dialing...
  43. if failure echo        Failed enabling tone dial!    
  44.  
  45. script ~0 ATW0~r OK
  46. if success echo        Disabled negotiation messages...     
  47. if failure echo        Failed disabling negotiation messages!
  48.  
  49. script ~0 AT&C1~r OK
  50. if success echo     Tracking DCD from remote modem...
  51. if failure echo        Failed configuring DCD!
  52.  
  53. script ~0 AT&D3~r OK
  54. if success echo     Reset upon DTR transition...
  55. if failure echo        Failed configuring DTR!
  56.  
  57. script ~0 AT&S1~r OK
  58. if success echo     Inhibit DSR at hangup...
  59. if failure echo        Failed configuring DSR!
  60.  
  61. script ~0 ATS11=65~r OK
  62. if success echo     Set DTMF tone duration...
  63. if failure echo        Failed setting DTMF tone duration!
  64.  
  65. script ~0 ATS37=11~r OK
  66. if success echo     Attempt initial connect at 14400...
  67. if failure echo        Failed setting initial connect speed!
  68.  
  69. script ~0 ATS38=0~r OK
  70. if success echo     No delay before hangup...
  71. if failure echo        Failed setting hangup delay!
  72.  
  73. script ~0 ATS95=47~r OK
  74. if success echo     Enable negotiation messages...
  75. if failure echo        Failed setting negotiation messages!
  76.  
  77. echo All Done!
  78.  
  79.